<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:form id="frmLostPassword">
        <p:dialog header="Lost Password"
                  id="dlgLostPassword"
                  widgetVar="wgLostPassword"
                  closable="false"
                  draggable="true"
                  modal="true"
                  showEffect="clip"
                  hideEffect="clip"
                  resizable="false">

            <h:panelGrid id="pnLostPassword" columns="2" cellspacing="5" >
                <h:outputText value="Method :  " />
                <p:selectOneMenu  id="slcLostPassword"
                                  value="#{userBean.methodRecoverPassword}"
                                  >
                    <f:selectItem   itemLabel="Recovery Password to secutiry Question"
                                    itemValue="Answer" /><br/>
                    <f:selectItem itemLabel="Recovery to email"
                                  itemValue="Email" />
                </p:selectOneMenu>



            </h:panelGrid>
            <f:facet name="footer">
                <p:commandButton value="Next"
                                 actionListener="#{userBean.selectMethodRecoverPassword}"
                                 oncomplete="LoginRequest(xhr, status, args)"
                                 update=":frmRecoverPasswordviaAnswer:dlgRecoverViaAnswer"
                                 />
                <p:commandButton
                    value="Cancel"
                    onclick="wgLostPassword.hide();wgLogin.show();"
                    />
            </f:facet>

        </p:dialog>
    </h:form>







</html>
